//检索
function searchs() {
    top.jzts();
    $("#form").submit();
}

//新增
function add(currentPage) {
    bootbox.confirm("您确定要新增用户等级吗？", function(result) {
        if(result) {
            top.jzts();
            var url = path +'/admin/userLevelDict/add';
            $.get(url, function(data) {
                top.hangge();
                bootbox.dialog({
                    message: "<span class='bigger-110'>" + data.msg + "</span>",
                    buttons: {
                        "button":{
                            "label":"确定",
                            "className":"btn-sm btn-success",
                            "callback": function() {
                                nextPage(currentPage);
                            }
                        }
                    }
                });
            });
        }
    });
}






